<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title></title>
	<script src="lib/easeljs-0.7.1.min.js" type="text/javascript"></script>
</head>
<body>
     <canvas id="canvas" width="800" height="800" style="border: 1px solid #ccc;"></canvas>

</body>
</html>

<script type="text/javascript">
	var stage = new createjs.Stage("canvas");
    var co = new createjs.Container();
    stage.addChild(co);
    var re = new createjs.Shape();
    re.graphics.beginFill("#ff0000").drawRect(5,5,50,50);
    var content = new createjs.Text("我要放假","20px New Roman","#ffffff");
    co.addChild(re,content);
    stage.update();
</script>